@charset "UTF-8";
@import url('displaFlex');





@safeWidth:1100px;        //安全宽度

@safeMainColor:#01cbe9;       //主题颜色
@safeMinorColor:#ff6f6e;       //主题颜色

@borderColor:#dcdcdc;     //边框颜色
@25mainWordColor:#252525;   //文字主体颜色
@4aviceWordColor:#4a4a4a;   //文字副级颜色
@99minorWordColor:#999999;  //文字次要颜色

@letwinW:420/1920;
@letwinH:420/500;

.w_h(@w_h){
  width: @w_h ;
  height: @w_h ;
}

//文字溢出
//多行
.wordSpaceClamp(@number){
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:@number;
  overflow: hidden;
}
//单行
.wordSpaceClamp{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.hover(@color){
  &:hover{
    background-color: @color;
    color: #FFFFFF;
    text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 1s cubic-bezier(0, 0.72, 0.35, 1.12);
  }
}

.nav{
  width: @safeWidth;
  margin:20px auto;
  a{
    font-size: 16px;
    color: #4a4a4a;
  }
  :nth-child(1){
    padding-right: 15px;
    background: url("../publicImg/jiantou-you-hui@2x.png") no-repeat right;
    margin-right: 10px;
  }
}

main{
  width:@safeWidth;
  margin: 0 auto;
  .displayFlex;
  .flex-direction-row;
  .flex-justify-between;
  .leftBox {
    width: 760px;
    .rightTitle{
      .displayFlex;
      .flex-direction-row;
      .flex-align-items;
      margin-bottom:30px;
      p{
        font-size:18px ;
        height: 24px;
        line-height: 24px;
        color:@4aviceWordColor;
        padding-left: 7px;
        border-left: 3px solid @safeMinorColor;

      }

    }
    .groupInfo{
      height:85px;
      .displayFlex;
      .flex-direction-row;
      .flex-align-items;

      margin-bottom: 20px;

      border:1px solid @borderColor;
      border-radius: 6px;
      padding: 30px 20px;

      .groupLogo{
        .w_h(80px);
        display: block;
        margin-right:16px;
        border-radius: 6px;
      }

      .infoText{
        .displayFlex;
        .flex-direction-column;
        width: 600px;

        .info{
          .displayFlex;
          .flex-direction-row;
          .flex-align-items;
          margin-bottom: 3px;
          .groupName{
            font-size: 20px;
            color: @25mainWordColor;
            margin-right: 28px;
            font-weight:normal;
          }
          span{
            color:@99minorWordColor;
            font-size: 16px;
            margin-right: 20px;
          }


        }
        .groupJianjie{
          font-size: 16px;
          color:@4aviceWordColor;
          .wordSpaceClamp(2)


        }

      }

      .btnBox{
        margin-left:50px;
        .displayFlex;
        .flex-direction-column;
        a{
          font-size: 14px;
          height: 24px;
          width: 80px;
          text-align: center;
          line-height: 24px;
          color: white;
          border-radius: 4px;
        }
        .fabu{
          background: @safeMinorColor;
          margin-bottom: 5px;

        }
        .go{
          background: @safeMainColor;

        }
      }


    }

  }

  .rightBox{

    .displayFlex;
    .flex-direction-column;
    width: 312px;
    .rightNewProduct{
      width: 290px;
      height: 715px;
      border: 1px solid @borderColor;
      border-radius: 6px;
      padding: 0 10px;
      .toNewLoans{
        display: block;
        height: 50px;
        width: 100%;
        font-size: 24px;
        line-height: 50px;
        text-align: left;
        background: white url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
        background-size: 10px 17px;
        border-bottom: 1px solid #eeeeee;
        color: @25mainWordColor;
        margin-bottom: 37px;

      }

      .NewLoansProductList{

        .loansItem{
          .displayFlex;
          .flex-align-items;
          .flex-direction-row;
          margin-bottom: 30px;
          .loansLogo{
            display: block;

            .w_h(72px);
            border-radius: 6px;


          }
          .loanInfo{
            .displayFlex;
            .flex-align-items;
            .flex-direction-row;
            .flex-justify-between;
            width: 210px;
            margin-left: 10px;

            .loanInfoLeft{
              h3{
                font-size: 18px;
                color: @25mainWordColor;
                line-height: 35px;
                font-weight: normal;
              }
              p{
                font-size: 14px;
                color: @4aviceWordColor;
                i{
                  color: @safeMinorColor;
                }
              }
            }
            .loanInfoRight{
              p{
                font-size: 16px;
                color: @99minorWordColor;
                margin-bottom: 15px;
              }
              a{
                display: block;
                width:58px ;
                height: 36px;
                color: white;
                background-color: @safeMinorColor;
                text-align: center;
                line-height: 36px;
                border-radius: 6px;
                margin-top: 36px;
                font-size: 18px;
              }
            }




          }

        }
      }

    }
    position: relative;
    .fixRight{
      position: fixed;
      top: 5%;
      right: 11%;

    }

    .positionBottom{
      position: absolute;
      left: 0;
      bottom: 100px;
    }

  }




}

